Skip to content

Instantly share code, notes, and snippets.

@portbuster1337
portbuster1337 / exploit.py
Created August 13, 2026 21:11
GeoServer jsonArrayContains SQLi -> PostgreSQL RCE python PoC
#!/usr/bin/env python3
"""
GeoServer jsonArrayContains SQLi -> PostgreSQL RCE / SQL / exfiltration PoC
GeoTools FilterToSqlHelper.constructEquality writes the `expected` argument of
jsonArrayContains RAW into the SQL string (only the JSON pointer is escaped):
jsonb_path_exists("data"::jsonb, '$ ? (@.a == "<VALUE>")')
A single quote in VALUE breaks out of the string literal, closes the call
@mbinna
mbinna / effective_modern_cmake.md
Last active August 21, 2026 21:37
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@Klerith
Klerith / testing-configuration.md
Last active August 21, 2026 21:36
Configuración de Vitest + React Testing Library
@fnky
fnky / ANSI.md
Last active August 21, 2026 21:34
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@MohammedNaser28
MohammedNaser28 / GIST.md
Last active August 21, 2026 21:33
Linux evaluation '26 — setup & practice instructions (qo)

Linux evaluation '26 — Setup & Test Instructions

Important: run this on a Linux machine (Ubuntu 22.04+, Fedora 36+, Debian 12+, Arch all work). You need sudo access.

1. Install qo

Open a terminal and run:

curl -fsSL https://raw.githubusercontent.com/Open-Source-Community/qo2/main/setup.sh | bash
@tzing
tzing / kubectl-rsync
Created May 17, 2025 10:32
rsync over kubectl
#! /bin/bash
# This script is inspired by following scripts:
# * https://serverfault.com/a/887402
# * https://github.com/dmrub/kube-utils/blob/master/kube-rsync
set -eo pipefail
if [[ -z "$KUBECTL_RSYNC_RSH" ]]; then
[[ -n "$KUBE_CONTEXT" ]] && echo >&2 "* Found \$KUBE_CONTEXT = $KUBE_CONTEXT"
[[ -n "$POD_NAMESPACE" ]] && echo >&2 "* Found \$POD_NAMESPACE = $POD_NAMESPACE"
@PaulMColeman
PaulMColeman / DEPLOYMENT.md
Last active August 21, 2026 21:28
Fluxer self-hosted deployment guide (refactor branch) — 20 gotchas documented

Fluxer Self-Hosted Deployment Guide

Deployment log for Fluxer on fluxer.mydomain.net — a free, open-source Discord alternative (AGPLv3).

Architecture

Fluxer runs as a monolith Docker Compose stack with 6 containers:

Container Image Purpose

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@ReynaBranch55
ReynaBranch55 / Android Utility Pro.md
Created September 27, 2025 09:41
Download** Android Utility Pro Tool v192 (Latest Version) Free - mfdl

Download Android Utility Pro Tool v192 (Latest Version) Free

Download Android Utility Pro Tool v192 Free – the all-in-one Android servicing tool for flashing, FRP bypass, authentication removal, partition management, and more.

Android Utility Tool